# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# Author     ：skyTree
# version    ：python 3.11
# Description：菜单的schemas
"""
from typing import Union

from pydantic import BaseModel


class MenuSchemas(BaseModel):
    id: int
    name: str
    level: Union[int, None] = None
    path: Union[str, None] = None
    pid_id: Union[int, None] = None
    is_menu: Union[bool, None] = None
